# coding=utf-8

from web.utils import storage
import settings

def _format_admin_url(postfix):
    '获取正确格式的管理路径'
    return '%s/%s' % (settings.CONFIG.ADMIN_DIR, postfix)

menu = (
        # 首页
        storage(name = '首页'
            , lst = ( 
                storage(url = _format_admin_url('home'), name = '首页', ), 
                storage(url = _format_admin_url('actress/approving'), name = '猫优推荐审核', ),
            ) 
        ),
        # 猫优
        storage(name = '猫优'
            , lst = ( 
                storage(url = _format_admin_url('actress/approving'), name = '推荐审核'), 
                storage(url = _format_admin_url('actress'), name = '猫优管理'),
            )
        ),
        # 猫友
        storage(name = '猫友'
            , lst = ( 
                storage(url = _format_admin_url('user'), name = '猫友管理'),
            ),
        ),
)
